package cn.qayy.dao;

import java.util.List;
import java.util.Map;

import cn.qayy.dto.CostDTO;
import cn.qayy.po.CostP;
import cn.qayy.service.Uploadable;

public interface CostPMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CostP record);

    int insertSelective(CostP record);

    CostP selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CostP record);

    int updateByPrimaryKey(CostP record);
    
    List<CostP> selectForList(CostDTO dto) ;
    
    List<Map<String, Object>> selectForDown(CostDTO dto) ;
        
    int deleteByList(List list);
    
    int updateByList(List<Uploadable> list);

    int insertByList(List<Object> list);
    
    int insert(Object record);
    
    int delete(Object bean);
    
    int updateByPrimaryKey(Object record);
}